<template>
	<view class="borrow">
		<view class="borrow-1">
			<view class="borrow-wz">
				<text class="wz-1">1000,00</text><br>
				<text class="wz-2">借款金额(元)</text>
			</view>
		</view>
		<view class="borrow-2">
			<view class="borrow-xx-1">
				<text class="wz-1">详细信息</text>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>借款期限</text>
				</view>
				<view class="wz-2">
					<text>6个月</text>
				</view>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>申请日期</text>
				</view>
				<view class="wz-2">
					<text>2021/4/18 15:00:01</text>
				</view>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>日利率</text>
				</view>
				<view class="wz-2">
					<text>0.038%</text>
				</view>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>实际到账</text>
				</view>
				<view class="wz-2">
					<text>5000元</text>
				</view>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>收款账户</text>
				</view>
				<view class="wz-2">
					<text>中国银行(8654)</text>
				</view>
			</view>
			<view class="borrow-xx-2">
				<view class="wz-1">
					<text>订单状态</text>
				</view>
				<view class="wz-2">
					<text>待还款</text>
				</view>
			</view>
		</view>
		<view class="borrow-3">
			<view class="borrow-3">
				<view class="box1">
					<u-steps :list="numList" :current="cuent" direction="column" active-color="#ff4445"
						un-active-color="#3e4b53"></u-steps>
				</view>
				<view class="box2">
					<view class="wz-1">
						<text :class="{wzcolor:cuent>=0}">订单已提交</text>
					</view>
					<view class="wz-1">
						<text :class="{wzcolor:cuent>=1}">订单已提交</text>
					</view>
					<view class="wz-1">
						<text :class="{wzcolor:cuent>=2}">已打款</text>
					</view>
				</view>
			</view>
		</view>
		<view class="borrow-4">
			<navigator class="button" url="#">立即还款</navigator>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				cuent: 1,
				numList: [{
					name: '2019/9/21 11:45:54'
				}, {
					name: '2019/9/21 11:45:54'
				}, {
					name: '2019/9/21 11:45:54'
				}],
			}
		},
		methods: {

		}
	}
</script>

<style scoped lang="scss">
	.borrow {
		box-sizing: border-box;
		width: 750rpx;
		padding: 0rpx 40rpx;
		background-color: #fefefe;

		.borrow-1 {
			box-sizing: border-box;
			width: 100%;
			height: 300rpx;
			padding-left: 30%;
			padding-top: 10%;

			.borrow-wz {
				width: 50%;
				height: 50%;
				text-align: center;

				.wz-1 {
					font-weight: 800;
					font-size: 68rpx;
					color: #e74d45;
				}
			}
		}

		.borrow-2 {
			width: 100%;
			height: 400rpx;

			.borrow-xx-1 {
				width: 100%;
				height: 15%;
				line-height: 60rpx;

				.wz-1 {

					font-size: 40rpx;
					font-weight: 800;
				}
			}

			.borrow-xx-2 {
				margin-top: 10rpx;
				width: 100%;
				height: 12%;

				display: flex;
				justify-content: space-between;

				.wz-1 {
					font-size: 30rpx;
					color: #989898;
					font-weight: 600;
				}

				.wz-2 {
					font-size: 30rpx;
					font-weight: 800;
				}
			}
		}

		.borrow-3 {
			margin-top: 30rpx;
			width: 100%;
			height: 370rpx;
			display: flex;
			justify-content: space-between;

			// background-color: red;
			.box1 {
				margin: 0;
				padding: 0;
				width: 45%;
				height: 100%;
				font-size: 20rpx;

			}

			.box2 {
				width: 50%;
				height: 100%;

				.wz-1 {
					width: 100%;
					height: 33%;
					text-align: center;
					font-weight: 700;
					line-height: 120rpx;
					color: #4e4e4e;
				}

				.wzcolor {
					color: #ff4445;
				}
			}
		}

		.borrow-4 {
			margin-top: 40rpx;
			width: 100%;
			height: 100rpx;
			display: flex;
			justify-content: space-around;

			.button {
				text-align: center;
				line-height: 100rpx;
				font-size: 32rpx;
				font-weight: 700;
				width: 60%;
				height: 100%;
				border-radius: 20rpx;
				color: #FFFFFF;
				background-color: #3775f6;
			}
		}

	}
</style>
